import request from '@/utils-shop/request'

// api地址
const api = {
  list: 'withdraw/list',
  apply: 'withdraw/apply'
}

// 提现列表
export const list = param => {
  return request.get(api.list, param)
}

// 申请提现
export const apply = (data) => {
  return request.post(api.apply, { form:data })
}
